#!/bin/bash
# CentOS6.9安装docker

rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel/6Server/x86_64/epel-release-6-8.noarch.rpm

yum install docker-io -y

chkconfig docker on

service docker start